{if $Error.login}
	<div class="error">{$Error.login}</div>
{/if}
{if $Error.password}
	<div class="error">{$Error.password}</div>
{/if}
{if $Error.password1}
	<div class="error">{$Error.password1}</div>
{/if}
{if $Error.email}
	<div class="error">{$Error.email}</div>
{/if}
<form action="/login/register" method="post">
	<table cellpadding="0" cellspacing="0" border="0" width="50%" align="center">
		<tr>
			<td align="left" style="padding-top:10px;">
				<a class="grey2">Логин:</a>
			</td>
			<td align="right" style="padding-right:20px; padding-top:10px;">
				<input type="text" width="100px" height="20px" name="login" class="grey" value="{$m.login}"/>
			</td>
		</tr>
		<tr>
			<td align="left" style="padding-top:5px;">
				<a class="grey2">Пароль:</a>
			</td>
			<td align="right" style="padding-right:20px; padding-top:5px;">
				<input type="password" width="100px" height="20px" name="password" class="grey" value="{$m.password}"/>
			</td>
		</tr>
		<tr>
			<td align="left" style="padding-top:5px;">
				<a class="grey2">Пароль*:</a>
			</td>
			<td align="right" style="padding-right:20px; padding-top:5px;">
				<input type="password" width="100px" height="20px" class="grey" name="password1" value="{$m.password1}"/>
			</td>
		</tr>
		<tr>
			<td align="left" style="padding-top:5px;">
				<a class="grey2">e-mail</a>
			</td>
			<td align="right" style="padding-right:20px; padding-top:10px;">
				<input type="text" width="100px" height="20px" class="grey" name="email" value="{$m.email}"/>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="right" style=" padding-top:10px; padding-bottom:10px; padding-right:20px;">
				<input type="submit" value="Зарегистрироваться" class="but" height="15px">
			</td>
		</tr>
	</table>
</form>